package com.hsmw.domain;

import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 支付记录表
 * </p>
 *
 * @author wd
 * @since 2021-12-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwPaymentRecord对象", description="支付记录表")
public class HsmwPaymentRecord extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "支付时间")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付金额")
    private Long payAmount;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "支付状态 0待支付 1 已支付 2 已过期")
    private String status;

    @ApiModelProperty(value = "交易号")
    private String transactionNumber;

    @ApiModelProperty(value = "交易类型")
    private String type;

    @ApiModelProperty(value = "支付渠道  1. 微信 2. 支付宝 3. 银联 4 对公")
    private String payType;

    @ApiModelProperty(value = "生成验签")
    private String sign;

    @ApiModelProperty(value = "操作人ID")
    private String rechargeUserId;

    @ApiModelProperty(value = "操作人姓名")
    private String rechargeUserName;


    @ApiModelProperty(value = "用户类型 COMPANY CONCRETE")
    private String userType;

    @ApiModelProperty(value = "组织ID")
    private String companyId;

    @ApiModelProperty(value = "组织名称")
    private String companyName;

    @ApiModelProperty(value = "经办人名称")
    private String handleUserName;

    @ApiModelProperty(value = "经办人ID")
    private String handleUserId;

}
